package org.black.phoneUtility.sms.reply.content.broadcastReceiver;

import org.black.phoneUtility.sms.reply.app.service.SmsReplyScheduleNotifyNotificationInentService;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class BootCompletedBroadcastReceiver extends BroadcastReceiver {
	private static final String LOG_TAG = BootCompletedBroadcastReceiver.class
			.getName();

	@Override
	public void onReceive(Context context, Intent intent) {
		Intent scheduleNotifyNotificationServiceIntent = new Intent(context,
				SmsReplyScheduleNotifyNotificationInentService.class);
		Bundle argumentsForSchedule = new Bundle();
		argumentsForSchedule
				.putInt(SmsReplyScheduleNotifyNotificationInentService.ARGUMENTS_ACTION_TYPE,
						SmsReplyScheduleNotifyNotificationInentService.ACTION_TYPE_RECHECK);
		scheduleNotifyNotificationServiceIntent.putExtras(argumentsForSchedule);
		context.startService(scheduleNotifyNotificationServiceIntent);
		Log.d(LOG_TAG, "Start SmsReplyScheduleNotifyNotificationInentService!");
	}

}
